Solving Quadratic Equations With The Null Factor Law